package com.ustc.hewei.commonmodule.service;

import com.ustc.hewei.commonmodule.dto.LoginFormDTO;
import com.ustc.hewei.commonmodule.dto.Result;
import com.ustc.hewei.commonmodule.dto.UserDTO;
import com.ustc.hewei.commonmodule.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hewei
 * @since 2022-10-05
 */
public interface IUserService extends IService<User> {
    Result sendCode(String phone);

    Result login(LoginFormDTO loginForm);

    Result logout(UserDTO userDTO);

    Result queryUserDTOByIds(List<Long> ids);
}
